home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SSSSTTTTCCCCUUUU((((3333XXXX)))) SSSSTTTTCCCCUUUU((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- stcu - routines that provide a compilation unit symbol table interface
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyymmmmssss....hhhh>>>>
-
- ppppCCCCHHHHDDDDRRRRRRRR sssstttt____ccccuuuuiiiinnnniiiitttt((((vvvvooooiiiidddd))));;;;
-
- vvvvooooiiiidddd sssstttt____sssseeeettttcccchhhhddddrrrr((((ppppCCCCHHHHDDDDRRRRRRRR ppppcccchhhhddddrrrr))));;;;
-
- ppppCCCCHHHHDDDDRRRRRRRR sssstttt____ccccuuuurrrrrrrreeeennnnttttppppcccchhhhddddrrrr((((vvvvooooiiiidddd))));;;;
-
- vvvvooooiiiidddd sssstttt____ffffrrrreeeeeeee((((vvvvooooiiiidddd))));;;;
-
- lllloooonnnngggg sssstttt____eeeexxxxttttaaaadddddddd((((lllloooonnnngggg iiiissssssss,,,, lllloooonnnngggg vvvvaaaalllluuuueeee,,,, lllloooonnnngggg sssstttt,,,, lllloooonnnngggg sssscccc,,,, lllloooonnnngggg iiiinnnnddddeeeexxxx))));;;;
-
- ppppEEEEXXXXTTTTRRRR sssstttt____ppppeeeexxxxtttt____iiiieeeexxxxtttt((((lllloooonnnngggg iiiieeeexxxxtttt))));;;;
-
- ppppEEEEXXXXTTTTRRRR sssstttt____ppppeeeexxxxtttt____rrrrnnnnddddxxxx((((RRRRNNNNDDDDXXXXRRRR rrrrnnnnddddxxxx))));;;;
-
- lllloooonnnngggg sssstttt____iiiieeeexxxxttttmmmmaaaaxxxx((((vvvvooooiiiidddd))));;;;
-
- lllloooonnnngggg sssstttt____eeeexxxxttttssssttttrrrraaaadddddddd((((cccchhhhaaaarrrr ****ssssttttrrrr))));;;;
-
- cccchhhhaaaarrrr ****sssstttt____ssssttttrrrr____eeeexxxxttttiiiissssssss((((lllloooonnnngggg iiiissssssss))));;;;
-
- lllloooonnnngggg sssstttt____iiiiddddnnnn____iiiinnnnddddeeeexxxx____ffffeeeexxxxtttt((((lllloooonnnngggg iiiinnnnddddeeeexxxx,,,, lllloooonnnngggg ffffeeeexxxxtttt))));;;;
-
- lllloooonnnngggg sssstttt____iiiiddddnnnn____rrrrnnnnddddxxxx((((RRRRNNNNDDDDXXXXRRRR rrrrnnnnddddxxxx))));;;;
-
- ppppRRRRNNNNDDDDXXXXRRRR sssstttt____ppppddddnnnn____iiiiddddnnnn((((lllloooonnnngggg iiiiddddnnnn))));;;;
-
- RRRRNNNNDDDDXXXXRRRR sssstttt____rrrrnnnnddddxxxx____iiiiddddnnnn((((lllloooonnnngggg iiiiddddnnnn))));;;;
-
- vvvvooooiiiidddd sssstttt____sssseeeettttiiiiddddnnnn((((lllloooonnnngggg iiiiddddnnnnddddeeeesssstttt,,,, lllloooonnnngggg iiiiddddnnnnssssrrrrcccc))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _s_t_c_u routines provide an interface to objects that occur once per
- object rather than once per file descriptor (for example, external
- symbols, strings, and dense numbers). The routines provide access to the
- current _c_h_d_r (compile time hdr), which represents the symbol table in
- running processes with pointers to symbol table sections rather than
- indices and offsets used in the disk file representation.
-
- A new symbol table can be created with _s_t__c_u_i_n_i_t. This routine creates
- and initializes a CHDRR (see <_c_m_p_l_r_s/_s_t_s_u_p_p_o_r_t._h>). The CHDRR is the
- current chdr and is used in all later calls. NNNNOOOOTTTTEEEE: A chdr can also be
- created with the read routines (see _s_t_i_o(3x)). The _2_s_t__c_u_i_n_i_t routine
- returns a pointer to the new CHDRR record.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- SSSSTTTTCCCCUUUU((((3333XXXX)))) SSSSTTTTCCCCUUUU((((3333XXXX))))
-
-
-
- _s_t__c_u_r_r_e_n_t_c_h_d_r
- Returns a pointer to the current chdr.
-
- _s_t__s_e_t_c_h_d_r
- Sets the current chdr to the _p_c_h_d_r argument and sets the per file
- structures to reflect a change in symbol tables.
-
- _s_t__f_r_e_e Frees all constituent structures associated with the current
- chdr.
-
- _s_t__e_x_t_a_d_d
- Lets you add to the externals table. It returns the index to the
- new external for future reference and use. The _i_f_d field for the
- external is filled in by the current file (see _s_t_f_d._3). For more
- details on the parameters, see <_s_y_m._h>.
-
- _s_t__p_e_x_t__i_e_x_t
-
- and _s_t__p_e_x_t__r_n_d_x Returns pointers to the external, given a index
- referencing them. The latter routine requires a relative index
- where the _i_n_d_e_x field should be the index in external symbols and
- the _r_f_d field should be the constant ST_EXTIFD. NNNNOOOOTTTTEEEE: The
- externals contain the same structure as symbols (see the _S_Y_M_R and
- _E_X_T_R definitions).
-
- _s_t__i_e_x_t_m_a_x
- Returns the current number of entries in the external symbol
- table.
-
- The _i_s_s field in external symbols (the index into string space) must
- point into external string space.
-
- _s_t__e_x_t_s_t_r_a_d_d
- Adds a null-terminated string to the external string space and
- returns its index.
-
- _s_t__s_t_r__e_x_t_i_s_s
- Converts that index into a pointer to the external string.
-
- The dense number table provides a convenience to the code optimizer,
- generator, and assembler. This table lets them reference symbols from
- different files and externals with unique densely packed numbers.
-
- _s_t__i_d_n__i_n_d_e_x__f_e_x_t
- Returns a new dense number table index, given an index into the
- symbol table of the current file (or if _f_e_x_t is set, the
- externals table).
-
- _s_t__i_d_n__r_n_d_x
- Returns a new dense number, but expects a RNDXR (see <_s_y_m._h>) to
- specify both the file index and the symbol index rather than
- implying the file index from the current file. The RNDXR
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- SSSSTTTTCCCCUUUU((((3333XXXX)))) SSSSTTTTCCCCUUUU((((3333XXXX))))
-
-
-
- contains two fields: an index into the externals table and a file
- index (_r_s_y_m_s can point into the symbol table, as well). The file
- index is ST_EXTIFD (see <_c_m_p_l_r_s/_s_t_s_u_p_p_o_r_t._h>) for externals.
-
- _s_t__r_n_d_x__i_d_n
- Returns a RNDX, given an index into the dense number table.
-
- _s_t__p_d_n__i_d_n
- Returns a pointer to the RNDXR index by the `idn' argument.
-
- The programs must be loaded with the object file access routine library
- _l_i_b_m_l_d._a.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- stfe(3x), stfd(3x)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-